home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / docs / howto / X11R3_fonts < prev    next >
Encoding:
Text File  |  1992-12-14  |  1.5 KB  |  30 lines

  1. For the X11R3 servers, all the fonts are below /X11R3/lib/fonts. The four
  2. subdirectories contain:
  3.     misc    : miscellaneous fonts for terminal emulators and cursors
  4.     75dpi    : regular fonts
  5.     100dpi    : regular fonts
  6.     xproof    : a few special fonts for xproof (troff previewer)
  7.     local    : special local fonts and fonts from X11R2 (and X10 ?)
  8.  
  9. All fonts are found by the server using its font path. Clients never have
  10. anything to do with fonts (except for parsing the command arguments and
  11. handing them to the server of course). The font path for _all_ servers is
  12. set in the server startup script (/X11R3/cmds/Xsprite):
  13. xset fp "/X11R3/lib/fonts/misc/md,/X11R3/lib/fonts/75dpi/md,\
  14. /X11R3/lib/fonts/100dpi/md,/X11R3/lib/fonts/xproof/md,/X11R3/lib/fonts/local/md"
  15. to change the font path of your server (dunno why you would want to do that)
  16. use the "fp"/"+fp"/"fp+" options to set/append/prepend your font path. Please    
  17. refer to the man page of xset or type "xset -help". Note that "xset q" will
  18. inform you about your current font path (among other things).
  19.  
  20. To add new fonts:
  21. You need the font description in BDF format (file extension .bdf). Copy the
  22. bdf file into /X11R3/lib/fonts/local, cd to that directory, compress the
  23. bdf files you just copied, run mkmf, finally do a pmake on a ds3100 and
  24. on either a sun4 or a sun3 (note that sun3.md is linked to sun4.md). Your
  25. new fonts should now be available. (If you want to create a new font
  26. directory, please contact me or look at the symbolic links in the
  27. misc font directory.)
  28.  
  29.                     -Thorsten (tve@sprite.berkeley.edu)
  30.